/**
 * Created by xy on 17/7/18.
 */
;(function ($) {
    $('.tab-section').on('hover', function(e){
        selectClientTab(e);
    });
})(jQuery);

function selectClientTab(tab){
    console.log(tab);
    var _tab = $(tab);
    $('.download_client').each(function() {
        $(this).hide();
    });

    $('.tab-section').each(function() {
        $(this).removeClass("active");
    });

    _tab.addClass("active");
    $('#' + _tab.attr('name')).show();
}